package com.iweb.dao;

import com.common.model.Page;
import com.iweb.pojo.Order;

import java.io.Serializable;
import java.util.List;

public interface OrderDao {
    List<Order> findAllOrder(Page page)throws Exception;
    List<Order> findNopayOrder(Page page)throws Exception;
    List<Order> findPayedOrder(Page page)throws Exception;
    long selectCount()throws Exception;
    long selectCountNopay()throws Exception;
    long selectCountPayed()throws Exception;
    Order findById(Serializable order_id)throws Exception;
    void save(Order order)throws Exception;
    void updateById(Serializable id)throws Exception;
}
